package com.dau.entity.system.dept;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@TableName("sys_dept_user")
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class DeptAndUser {
    @NotNull(message = "部门id不能为空")
    private Long deptId;
    @NotNull(message = "用户id不能为空")
    private Long userId;
}
